package com.zuo.demo01.dao;

import com.zuo.demo01.pojo.BlogTagRelation;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;


@Mapper
@Repository
public interface BlogTagRelationMapper {


    public List<BlogTagRelation> findAll();


    public List<BlogTagRelation> findByTag(Map<String,Object> map);

    public List<BlogTagRelation> findByBlog(int id);


    public int countByTag(String tag);


    public int insert(Map<String,Object> map);


}
